package main;
import java.awt.*;
import javax.swing.*;

import effects.Sound;



/**
 * Creates window that can be moved, resized, and closed by the user.
 *
 * @author Robert C. Duvall
 */

public class Main
{
    public static final Dimension SIZE = new Dimension(900, 800);
    public static final String TITLE = "Boids!";

    public static void main (String args[])
    {
        Applet app = new Applet();
        app.init(SIZE);

        JFrame frame = new JFrame(TITLE);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.getContentPane().add(app, BorderLayout.CENTER);
        frame.pack();        
        frame.setVisible(true);
    }
}
